'use strict';
const db = uniCloud.database()
const coll = db.collection('newyonghhu')
exports.main = async (event, context) => {
	let res = await coll.where({
		Name:event.name,
		WWID:Number(event.wwid)
	}).count()
	return res
};
